Constraint-Based Query Evaluation in Deductive Databases
نویسنده
چکیده
Constraints play an important role in the efficient query evaluation in deductive databases. In this paper, constraint-based query evaluation in deductive databases is investigated, with the emphasis on linear recursions with function symbols. Constraints are classified into three classes: (i) rule constraints, (ii) integrity constraints, and (iii) query constraints. Techniques are developed for the maximal use of different kinds of constraints in rule compilation and query evaluation. Our study on the roles of different classes of constraints in set-oriented evaluation of linear recursions shows that (i) rule constraints should be integrated with their corresponding deduction rules in the compilation of recursions; (ii) integrity constraints, including finiteness constraints and monotonicity constraints, should be used in the analysis of finite evaluability and termination for specific queries; and (iii) query constraints, which are often useful in search space reduction and termination, should be transformed, when necessary, and be pushed into the compiled chains as deeply as possible for efficient evaluation. Our constraint-based query processing technique integrates query-independent compilation and chain-based query evaluation methods and demonstrates its great promise in deductive query evaluation. Index Terms — Deductive databases, constraint-based query evaluation, compilation techniques, linear recursions, functional recursions, recursive query processing, query optimization.
منابع مشابه
Constraint Databases and Program Analysis Using Abstract Interpretation
In this paper we discuss a connection between two seemingly distant research areas in computer science: constraint databases and abstract interpretation. We show that while the goals of research in the respective communities are diierent, the used techniques are often based on similar common foundations. We substantiate this claim by showing that abstract interpretation of a standard (Algol-lik...
متن کاملNormalization and Compilation of Deductive and Object-Oriented Databases Programs for Efficient Query Evaluation
A normalization process is proposed to serve not only as a preprocessing stage for compilation and evaluation but also as a tool for classifying recursions. Then the query-independent compilation and chain-based evaluation method can be extended naturally to process a class of DOOD programs and queries. The query-independent compilation captures the bindings that could be diicult to be captured...
متن کاملConstraints for Query Optimization in Deductive Databases
There are many ways in which the query answering process for deductive databases may be optimised. At the heart of many of these methods is some form of constraint on the variables of the query, so that facts which are not relevant to the query are not computed. In this paper we show how fold/unfold transformations may be used to propagate some forms of constraint which are not captured by tech...
متن کاملQuery Evaluation in Constraint Databases ( Tutorial Proposal )
DatabasesImages of Concrete DatabasesConcrete Databases'&$%'$'&$%D1:R = f(a; 1); (a; 2);(a; 3); : : : g'(D1):'(D1) = f(a; 1); (a; 2);: : : ; (a; 9)g' = R(x; y) ^ y < 10-f(a; 1 t)gf(a; 1 t 5);(a; 3 t) gf(a; 1 t 9)gf(a; 1 t 5);(a; 3 t 9) geval(')(E1) -eval(')(E2) -6kE1k 6kE2k6k:k 6k:kE1...
متن کاملA Constraint Database System for Temporal Knowledge
This paper describes how the technology of deductive constraint database systems and constraint query languages can be used to represent and reason with tem poral knowledge First we summarize our approach to manipulating constraints over reals within deductive database sys tems This approach is based on the compile time rewriting of clauses which are not admissible Then we show how the timestam...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- IEEE Trans. Knowl. Data Eng.
دوره 6 شماره
صفحات -
تاریخ انتشار 1994